#include "Customer.h"

Customer::Customer() {
    active = false;
}

Customer::~Customer() {
}

std::string Customer::getName() {
    return name;
}

void Customer::setName(std::string p_name) {
    name = p_name;
}

std::string Customer::getContact() {
    return contact;
}

void Customer::setContact(std::string p_contact) {
    contact = p_contact;
}

std::string Customer::getDeliveryAddress() {
    return deliveryAddress;
}

void Customer::setDeliveryAddress(std::string p_deliveryAddress) {
    deliveryAddress = p_deliveryAddress;
}

bool Customer::getActive() {
    return active;
}

void Customer::setActive(bool p_active) {
    active = p_active;
}

void Customer::addOrder(Order* p_Order) {
    orders.push_back(p_Order);
}

std::vector<Order*> Customer::getOrders() {
    return orders;
}
